package com.example.cdctest.pojo;

import java.io.Serializable;
import java.util.Date;

public class RandomTestRecord implements Serializable {
    private Integer id;

    /**
	* 测试成绩
	*/
    private Integer testGrade;

    /**
	* 测试时长
	*/
    private Integer testDuration;

    /**
	* 答对多少
	*/
    private Integer trueCount;

    /**
	* 答错多少
	*/
    private Integer falseCount;

    /**
	* 漏题多少
	*/
    private Integer missCount;

    /**
	* 测试时间
	*/
    private Date testTime;

    /**
	* 用户表
	*/
    private Integer userInfoId;

    /**
	* 删除
	*/
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTestGrade() {
        return testGrade;
    }

    public void setTestGrade(Integer testGrade) {
        this.testGrade = testGrade;
    }

    public Integer getTestDuration() {
        return testDuration;
    }

    public void setTestDuration(Integer testDuration) {
        this.testDuration = testDuration;
    }

    public Integer getTrueCount() {
        return trueCount;
    }

    public void setTrueCount(Integer trueCount) {
        this.trueCount = trueCount;
    }

    public Integer getFalseCount() {
        return falseCount;
    }

    public void setFalseCount(Integer falseCount) {
        this.falseCount = falseCount;
    }

    public Integer getMissCount() {
        return missCount;
    }

    public void setMissCount(Integer missCount) {
        this.missCount = missCount;
    }

    public Date getTestTime() {
        return testTime;
    }

    public void setTestTime(Date testTime) {
        this.testTime = testTime;
    }

    public Integer getUserInfoId() {
        return userInfoId;
    }

    public void setUserInfoId(Integer userInfoId) {
        this.userInfoId = userInfoId;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", testGrade=").append(testGrade);
        sb.append(", testDuration=").append(testDuration);
        sb.append(", trueCount=").append(trueCount);
        sb.append(", falseCount=").append(falseCount);
        sb.append(", missCount=").append(missCount);
        sb.append(", testTime=").append(testTime);
        sb.append(", userInfoId=").append(userInfoId);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}